// 统一管理首页相关的接口
import ajax from "@/utils/ajax";

export function getCategoryData(categoryId) {
    return ajax({
        url: '/wy/item/list.json?__timestamp=1630136511866',
        method: 'get',
        params: {categoryId}
    });
}

export function getIndexData() {
    return ajax({
        url: '/wy/xhr/index.json?__timestamp=1656761408928',
        method: 'get',
    });
}
